<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkTextTag</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
<link rel="up" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="prev" href="GtkTextBuffer.html" title="GtkTextBuffer">
<link rel="next" href="GtkTextTagTable.html" title="GtkTextTagTable">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkTextBuffer.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="TextWidgetObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
<td><a accesskey="n" href="GtkTextTagTable.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkTextTag.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GtkTextTag.description" class="shortcut">Description</a>
                   | 
                  <a href="#GtkTextTag.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GtkTextTag.properties" class="shortcut">Properties</a>
                   | 
                  <a href="#GtkTextTag.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="GtkTextTag"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkTextTag.top_of_page"></a>GtkTextTag</span></h2>
<p>GtkTextTag — A tag that can be applied to text in a GtkTextBuffer</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GtkTextTag.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

struct              <a class="link" href="GtkTextTag.html#GtkTextTag-struct" title="struct GtkTextTag">GtkTextTag</a>;
enum                <a class="link" href="GtkTextTag.html#GtkWrapMode" title="enum GtkWrapMode">GtkWrapMode</a>;
struct              <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes">GtkTextAttributes</a>;
<a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="returnvalue">GtkTextTag</span></a> *        <a class="link" href="GtkTextTag.html#gtk-text-tag-new" title="gtk_text_tag_new ()">gtk_text_tag_new</a>                    (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkTextTag.html#gtk-text-tag-get-priority" title="gtk_text_tag_get_priority ()">gtk_text_tag_get_priority</a>           (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkTextTag.html#gtk-text-tag-set-priority" title="gtk_text_tag_set_priority ()">gtk_text_tag_set_priority</a>           (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkTextTag.html#gtk-text-tag-event" title="gtk_text_tag_event ()">gtk_text_tag_event</a>                  (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *event_object</code></em>,
                                                         <em class="parameter"><code><a href="../gdk/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>);
struct              <a class="link" href="GtkTextTag.html#GtkTextAppearance" title="struct GtkTextAppearance">GtkTextAppearance</a>;
<a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * <a class="link" href="GtkTextTag.html#gtk-text-attributes-new" title="gtk_text_attributes_new ()">gtk_text_attributes_new</a>             (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * <a class="link" href="GtkTextTag.html#gtk-text-attributes-copy" title="gtk_text_attributes_copy ()">gtk_text_attributes_copy</a>            (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *src</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkTextTag.html#gtk-text-attributes-copy-values" title="gtk_text_attributes_copy_values ()">gtk_text_attributes_copy_values</a>     (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *src</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *dest</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkTextTag.html#gtk-text-attributes-unref" title="gtk_text_attributes_unref ()">gtk_text_attributes_unref</a>           (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *values</code></em>);
<a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * <a class="link" href="GtkTextTag.html#gtk-text-attributes-ref" title="gtk_text_attributes_ref ()">gtk_text_attributes_ref</a>             (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *values</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GtkTextTag.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----GtkTextTag
</pre>
</div>
<div class="refsect1">
<a name="GtkTextTag.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GtkTextTag.html#GtkTextTag--accumulative-margin" title='The "accumulative-margin" property'>accumulative-margin</a>"      <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--background" title='The "background" property'>background</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--background-full-height" title='The "background-full-height" property'>background-full-height</a>"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--background-full-height-set" title='The "background-full-height-set" property'>background-full-height-set</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--background-gdk" title='The "background-gdk" property'>background-gdk</a>"           <a href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--background-set" title='The "background-set" property'>background-set</a>"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--background-stipple" title='The "background-stipple" property'>background-stipple</a>"       <a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>*            : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--background-stipple-set" title='The "background-stipple-set" property'>background-stipple-set</a>"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--direction" title='The "direction" property'>direction</a>"                <a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a>      : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--editable" title='The "editable" property'>editable</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--editable-set" title='The "editable-set" property'>editable-set</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--family" title='The "family" property'>family</a>"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--family-set" title='The "family-set" property'>family-set</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--font" title='The "font" property'>font</a>"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--font-desc" title='The "font-desc" property'>font-desc</a>"                <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>*  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--foreground" title='The "foreground" property'>foreground</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--foreground-gdk" title='The "foreground-gdk" property'>foreground-gdk</a>"           <a href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--foreground-set" title='The "foreground-set" property'>foreground-set</a>"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--foreground-stipple" title='The "foreground-stipple" property'>foreground-stipple</a>"       <a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>*            : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--foreground-stipple-set" title='The "foreground-stipple-set" property'>foreground-stipple-set</a>"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--indent" title='The "indent" property'>indent</a>"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--indent-set" title='The "indent-set" property'>indent-set</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--invisible" title='The "invisible" property'>invisible</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--invisible-set" title='The "invisible-set" property'>invisible-set</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--justification" title='The "justification" property'>justification</a>"            <a class="link" href="gtk-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="type">GtkJustification</span></a>      : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--justification-set" title='The "justification-set" property'>justification-set</a>"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--language" title='The "language" property'>language</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--language-set" title='The "language-set" property'>language-set</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--left-margin" title='The "left-margin" property'>left-margin</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--left-margin-set" title='The "left-margin-set" property'>left-margin-set</a>"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--name" title='The "name" property'>name</a>"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write / Construct Only
  "<a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background" title='The "paragraph-background" property'>paragraph-background</a>"     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-gdk" title='The "paragraph-background-gdk" property'>paragraph-background-gdk</a>" <a href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--paragraph-background-set" title='The "paragraph-background-set" property'>paragraph-background-set</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--pixels-above-lines" title='The "pixels-above-lines" property'>pixels-above-lines</a>"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--pixels-above-lines-set" title='The "pixels-above-lines-set" property'>pixels-above-lines-set</a>"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--pixels-below-lines" title='The "pixels-below-lines" property'>pixels-below-lines</a>"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--pixels-below-lines-set" title='The "pixels-below-lines-set" property'>pixels-below-lines-set</a>"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--pixels-inside-wrap" title='The "pixels-inside-wrap" property'>pixels-inside-wrap</a>"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--pixels-inside-wrap-set" title='The "pixels-inside-wrap-set" property'>pixels-inside-wrap-set</a>"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--right-margin" title='The "right-margin" property'>right-margin</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--right-margin-set" title='The "right-margin-set" property'>right-margin-set</a>"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--rise" title='The "rise" property'>rise</a>"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--rise-set" title='The "rise-set" property'>rise-set</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--scale" title='The "scale" property'>scale</a>"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--scale-set" title='The "scale-set" property'>scale-set</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--size" title='The "size" property'>size</a>"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--size-points" title='The "size-points" property'>size-points</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--size-set" title='The "size-set" property'>size-set</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--stretch" title='The "stretch" property'>stretch</a>"                  <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a>          : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--stretch-set" title='The "stretch-set" property'>stretch-set</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--strikethrough" title='The "strikethrough" property'>strikethrough</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--strikethrough-set" title='The "strikethrough-set" property'>strikethrough-set</a>"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--style" title='The "style" property'>style</a>"                    <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a>            : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--style-set" title='The "style-set" property'>style-set</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--tabs" title='The "tabs" property'>tabs</a>"                     <a href="/usr/share/gtk-doc/html/pango/pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>*        : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--tabs-set" title='The "tabs-set" property'>tabs-set</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--underline" title='The "underline" property'>underline</a>"                <a href="/usr/share/gtk-doc/html/pango/pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a>        : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--underline-set" title='The "underline-set" property'>underline-set</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--variant" title='The "variant" property'>variant</a>"                  <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a>          : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--variant-set" title='The "variant-set" property'>variant-set</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--weight" title='The "weight" property'>weight</a>"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--weight-set" title='The "weight-set" property'>weight-set</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--wrap-mode" title='The "wrap-mode" property'>wrap-mode</a>"                <a class="link" href="GtkTextTag.html#GtkWrapMode" title="enum GtkWrapMode"><span class="type">GtkWrapMode</span></a>           : Read / Write
  "<a class="link" href="GtkTextTag.html#GtkTextTag--wrap-mode-set" title='The "wrap-mode-set" property'>wrap-mode-set</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GtkTextTag.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="GtkTextTag.html#GtkTextTag-event" title='The "event" signal'>event</a>"                                          : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
</pre>
</div>
<div class="refsect1">
<a name="GtkTextTag.description"></a><h2>Description</h2>
<p>
You may wish to begin by reading the <a class="link" href="TextWidget.html" title="Text Widget Overview">text widget
conceptual overview</a> which gives an overview of all the objects and data
types related to the text widget and how they work together.
</p>
<p>
Tags should be in the <a class="link" href="GtkTextTagTable.html" title="GtkTextTagTable"><span class="type">GtkTextTagTable</span></a> for a given <a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a>
before using them with that buffer.
</p>
<p>
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-create-tag" title="gtk_text_buffer_create_tag ()"><code class="function">gtk_text_buffer_create_tag()</code></a> is the best way to create tags.
See <span class="application">gtk-demo</span> for numerous examples.
</p>
<p>
The "invisible" property was not implemented for GTK+ 2.0.
It is working (with minor issues) since 2.8.
</p>
</div>
<div class="refsect1">
<a name="GtkTextTag.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GtkTextTag-struct"></a><h3>struct GtkTextTag</h3>
<pre class="programlisting">struct GtkTextTag;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkWrapMode"></a><h3>enum GtkWrapMode</h3>
<pre class="programlisting">typedef enum {
  GTK_WRAP_NONE,
  GTK_WRAP_CHAR,
  GTK_WRAP_WORD,
  GTK_WRAP_WORD_CHAR
} GtkWrapMode;
</pre>
<p>
Describes a type of line wrapping.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-WRAP-NONE:CAPS"></a><span class="term"><code class="literal">GTK_WRAP_NONE</code></span></p></td>
<td>do not wrap lines; just make the text area wider
</td>
</tr>
<tr>
<td><p><a name="GTK-WRAP-CHAR:CAPS"></a><span class="term"><code class="literal">GTK_WRAP_CHAR</code></span></p></td>
<td>wrap text, breaking lines anywhere the cursor can
                appear (between characters, usually - if you want to
                be technical, between graphemes, see
                <a href="/usr/share/gtk-doc/html/pango/pango-Text-Processing.html#pango-get-log-attrs"><code class="function">pango_get_log_attrs()</code></a>)
</td>
</tr>
<tr>
<td><p><a name="GTK-WRAP-WORD:CAPS"></a><span class="term"><code class="literal">GTK_WRAP_WORD</code></span></p></td>
<td>wrap text, breaking lines in between words
</td>
</tr>
<tr>
<td><p><a name="GTK-WRAP-WORD-CHAR:CAPS"></a><span class="term"><code class="literal">GTK_WRAP_WORD_CHAR</code></span></p></td>
<td>wrap text, breaking lines in between words, or if 
                that is not enough, also between graphemes.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextAttributes"></a><h3>struct GtkTextAttributes</h3>
<pre class="programlisting">struct GtkTextAttributes {
  GtkTextAppearance appearance;

  GtkJustification justification;
  GtkTextDirection direction;

  /* Individual chunks of this can be set/unset as a group */
  PangoFontDescription *font;

  gdouble font_scale;
  
  gint left_margin;

  gint indent;  

  gint right_margin;

  gint pixels_above_lines;

  gint pixels_below_lines;

  gint pixels_inside_wrap;

  PangoTabArray *tabs;

  GtkWrapMode wrap_mode;        /* How to handle wrap-around for this tag.
                                 * Must be GTK_WRAPMODE_CHAR,
                                 * GTK_WRAPMODE_NONE, GTK_WRAPMODE_WORD
                                 */

  PangoLanguage *language;

  /* hide the text  */
  guint invisible : 1;

  /* Background is fit to full line height rather than
   * baseline +/- ascent/descent (font height)
   */
  guint bg_full_height : 1;

  /* can edit this text */
  guint editable : 1;

  /* colors are allocated etc. */
  guint realized : 1;
};
</pre>
<p>
Using <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> directly should rarely be necessary. It's
primarily useful with <a class="link" href="GtkTextIter.html#gtk-text-iter-get-attributes" title="gtk_text_iter_get_attributes ()"><code class="function">gtk_text_iter_get_attributes()</code></a>. As with most
GTK+ structs, the fields in this struct should only be read, never
modified directly.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="GtkTextTag.html#GtkTextAppearance" title="struct GtkTextAppearance"><span class="type">GtkTextAppearance</span></a> <em class="structfield"><code><a name="GtkTextAttributes.appearance"></a>appearance</code></em>;</span></p></td>
<td>pointer to sub-struct containing certain attributes</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="gtk-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="type">GtkJustification</span></a> <em class="structfield"><code><a name="GtkTextAttributes.justification"></a>justification</code></em>;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a> <em class="structfield"><code><a name="GtkTextAttributes.direction"></a>direction</code></em>;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *<em class="structfield"><code><a name="GtkTextAttributes.font"></a>font</code></em>;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GtkTextAttributes.font-scale"></a>font_scale</code></em>;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.left-margin"></a>left_margin</code></em>;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.indent"></a>indent</code></em>;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.right-margin"></a>right_margin</code></em>;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.pixels-above-lines"></a>pixels_above_lines</code></em>;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.pixels-below-lines"></a>pixels_below_lines</code></em>;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.pixels-inside-wrap"></a>pixels_inside_wrap</code></em>;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/pango/pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *<em class="structfield"><code><a name="GtkTextAttributes.tabs"></a>tabs</code></em>;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="GtkTextTag.html#GtkWrapMode" title="enum GtkWrapMode"><span class="type">GtkWrapMode</span></a> <em class="structfield"><code><a name="GtkTextAttributes.wrap-mode"></a>wrap_mode</code></em>;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *<em class="structfield"><code><a name="GtkTextAttributes.language"></a>language</code></em>;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.invisible"></a>invisible</code></em> : 1;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.bg-full-height"></a>bg_full_height</code></em> : 1;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.editable"></a>editable</code></em> : 1;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GtkTextAttributes.realized"></a>realized</code></em> : 1;</span></p></td>
<td></td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-tag-new"></a><h3>gtk_text_tag_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="returnvalue">GtkTextTag</span></a> *        gtk_text_tag_new                    (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>
Creates a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>. Configure the tag using object arguments,
i.e. using <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set"><code class="function">g_object_set()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>tag name, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-tag-get-priority"></a><h3>gtk_text_tag_get_priority ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_text_tag_get_priority           (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>);</pre>
<p>
Get the tag priority.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tag</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The tag's priority.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-tag-set-priority"></a><h3>gtk_text_tag_set_priority ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_text_tag_set_priority           (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);</pre>
<p>
Sets the priority of a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>. Valid priorities are
start at 0 and go to one less than <a class="link" href="GtkTextTagTable.html#gtk-text-tag-table-get-size" title="gtk_text_tag_table_get_size ()"><code class="function">gtk_text_tag_table_get_size()</code></a>.
Each tag in a table has a unique priority; setting the priority
of one tag shifts the priorities of all the other tags in the
table to maintain a unique priority for each tag. Higher priority
tags "win" if two tags both set the same text attribute. When adding
a tag to a tag table, it will be assigned the highest priority in
the table by default; so normally the precedence of a set of tags
is the order in which they were added to the table, or created with
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-create-tag" title="gtk_text_buffer_create_tag ()"><code class="function">gtk_text_buffer_create_tag()</code></a>, which adds the tag to the buffer's table
automatically.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tag</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
<td>the new priority</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-tag-event"></a><h3>gtk_text_tag_event ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_text_tag_event                  (<em class="parameter"><code><a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> *tag</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *event_object</code></em>,
                                                         <em class="parameter"><code><a href="../gdk/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
<p>
Emits the "event" signal on the <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tag</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event_object</code></em> :</span></p></td>
<td>object that received the event, such as a widget</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td>the event</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>location where the event was received</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>result of signal emission (whether the event was handled)</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextAppearance"></a><h3>struct GtkTextAppearance</h3>
<pre class="programlisting">struct GtkTextAppearance {
  GdkColor bg_color;
  GdkColor fg_color;
  GdkBitmap *bg_stipple;
  GdkBitmap *fg_stipple;

  /* super/subscript rise, can be negative */
  gint rise;

  guint underline : 4;          /* PangoUnderline */
  guint strikethrough : 1;

  /* Whether to use background-related values; this is irrelevant for
   * the values struct when in a tag, but is used for the composite
   * values struct; it's true if any of the tags being composited
   * had background stuff set.
   */
  guint draw_bg : 1;
  
  /* These are only used when we are actually laying out and rendering
   * a paragraph; not when a GtkTextAppearance is part of a
   * GtkTextAttributes.
   */
  guint inside_selection : 1;
  guint is_text : 1;
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-attributes-new"></a><h3>gtk_text_attributes_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * gtk_text_attributes_new             (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>, which describes
a set of properties on some text.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-attributes-copy"></a><h3>gtk_text_attributes_copy ()</h3>
<pre class="programlisting"><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * gtk_text_attributes_copy            (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *src</code></em>);</pre>
<p>
Copies <em class="parameter"><code>src</code></em> and returns a new <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> to be copied</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a copy of <em class="parameter"><code>src</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-attributes-copy-values"></a><h3>gtk_text_attributes_copy_values ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_text_attributes_copy_values     (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *src</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *dest</code></em>);</pre>
<p>
Copies the values from <em class="parameter"><code>src</code></em> to <em class="parameter"><code>dest</code></em> so that <em class="parameter"><code>dest</code></em> has the same values
as <em class="parameter"><code>src</code></em>. Frees existing values in <em class="parameter"><code>dest</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
<td>another <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-attributes-unref"></a><h3>gtk_text_attributes_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_text_attributes_unref           (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *values</code></em>);</pre>
<p>
Decrements the reference count on <em class="parameter"><code>values</code></em>, freeing the structure
if the reference count reaches 0.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>values</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-text-attributes-ref"></a><h3>gtk_text_attributes_ref ()</h3>
<pre class="programlisting"><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> * gtk_text_attributes_ref             (<em class="parameter"><code><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *values</code></em>);</pre>
<p>
Increments the reference count on <em class="parameter"><code>values</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>values</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> that were passed in</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GtkTextTag.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GtkTextTag--accumulative-margin"></a><h3>The <code class="literal">"accumulative-margin"</code> property</h3>
<pre class="programlisting">  "accumulative-margin"      <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
Whether the margins accumulate or override each other.
</p>
<p>
When set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> the margins of this tag are added to the margins
of any other non-accumulative margins present. When set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> 
the margins override one another (the default).
</p>
<p>Default value: FALSE</p>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--background"></a><h3>The <code class="literal">"background"</code> property</h3>
<pre class="programlisting">  "background"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Write</pre>
<p>Background color as a string.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--background-full-height"></a><h3>The <code class="literal">"background-full-height"</code> property</h3>
<pre class="programlisting">  "background-full-height"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether the background color fills the entire line height or only the height of the tagged characters.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--background-full-height-set"></a><h3>The <code class="literal">"background-full-height-set"</code> property</h3>
<pre class="programlisting">  "background-full-height-set" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects background height.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--background-gdk"></a><h3>The <code class="literal">"background-gdk"</code> property</h3>
<pre class="programlisting">  "background-gdk"           <a href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write</pre>
<p>Background color as a (possibly unallocated) GdkColor.</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--background-set"></a><h3>The <code class="literal">"background-set"</code> property</h3>
<pre class="programlisting">  "background-set"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the background color.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--background-stipple"></a><h3>The <code class="literal">"background-stipple"</code> property</h3>
<pre class="programlisting">  "background-stipple"       <a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>*            : Read / Write</pre>
<p>Bitmap to use as a mask when drawing the text background.</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--background-stipple-set"></a><h3>The <code class="literal">"background-stipple-set"</code> property</h3>
<pre class="programlisting">  "background-stipple-set"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the background stipple.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--direction"></a><h3>The <code class="literal">"direction"</code> property</h3>
<pre class="programlisting">  "direction"                <a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a>      : Read / Write</pre>
<p>Text direction, e.g. right-to-left or left-to-right.</p>
<p>Default value: GTK_TEXT_DIR_NONE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--editable"></a><h3>The <code class="literal">"editable"</code> property</h3>
<pre class="programlisting">  "editable"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether the text can be modified by the user.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--editable-set"></a><h3>The <code class="literal">"editable-set"</code> property</h3>
<pre class="programlisting">  "editable-set"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects text editability.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--family"></a><h3>The <code class="literal">"family"</code> property</h3>
<pre class="programlisting">  "family"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>Name of the font family, e.g. Sans, Helvetica, Times, Monospace.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--family-set"></a><h3>The <code class="literal">"family-set"</code> property</h3>
<pre class="programlisting">  "family-set"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the font family.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--font"></a><h3>The <code class="literal">"font"</code> property</h3>
<pre class="programlisting">  "font"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>
Font description as string, e.g. \"Sans Italic 12\". 
</p>
<p>
Note that the initial value of this property depends on
the internals of <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.
</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--font-desc"></a><h3>The <code class="literal">"font-desc"</code> property</h3>
<pre class="programlisting">  "font-desc"                <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>*  : Read / Write</pre>
<p>Font description as a PangoFontDescription struct.</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--foreground"></a><h3>The <code class="literal">"foreground"</code> property</h3>
<pre class="programlisting">  "foreground"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Write</pre>
<p>Foreground color as a string.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--foreground-gdk"></a><h3>The <code class="literal">"foreground-gdk"</code> property</h3>
<pre class="programlisting">  "foreground-gdk"           <a href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write</pre>
<p>Foreground color as a (possibly unallocated) GdkColor.</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--foreground-set"></a><h3>The <code class="literal">"foreground-set"</code> property</h3>
<pre class="programlisting">  "foreground-set"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the foreground color.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--foreground-stipple"></a><h3>The <code class="literal">"foreground-stipple"</code> property</h3>
<pre class="programlisting">  "foreground-stipple"       <a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>*            : Read / Write</pre>
<p>Bitmap to use as a mask when drawing the text foreground.</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--foreground-stipple-set"></a><h3>The <code class="literal">"foreground-stipple-set"</code> property</h3>
<pre class="programlisting">  "foreground-stipple-set"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the foreground stipple.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--indent"></a><h3>The <code class="literal">"indent"</code> property</h3>
<pre class="programlisting">  "indent"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Amount to indent the paragraph, in pixels.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--indent-set"></a><h3>The <code class="literal">"indent-set"</code> property</h3>
<pre class="programlisting">  "indent-set"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects indentation.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--invisible"></a><h3>The <code class="literal">"invisible"</code> property</h3>
<pre class="programlisting">  "invisible"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
Whether this text is hidden.
</p>
<p>
Note that there may still be problems with the support for invisible 
text, in particular when navigating programmatically inside a buffer
containing invisible segments.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--invisible-set"></a><h3>The <code class="literal">"invisible-set"</code> property</h3>
<pre class="programlisting">  "invisible-set"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects text visibility.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--justification"></a><h3>The <code class="literal">"justification"</code> property</h3>
<pre class="programlisting">  "justification"            <a class="link" href="gtk-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="type">GtkJustification</span></a>      : Read / Write</pre>
<p>Left, right, or center justification.</p>
<p>Default value: GTK_JUSTIFY_LEFT</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--justification-set"></a><h3>The <code class="literal">"justification-set"</code> property</h3>
<pre class="programlisting">  "justification-set"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects paragraph justification.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--language"></a><h3>The <code class="literal">"language"</code> property</h3>
<pre class="programlisting">  "language"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>
The language this text is in, as an ISO code. Pango can use this as a 
hint when rendering the text. If not set, an appropriate default will be 
used.
</p>
<p>
Note that the initial value of this property depends on the current
locale, see also <a class="link" href="gtk-General.html#gtk-get-default-language" title="gtk_get_default_language ()"><code class="function">gtk_get_default_language()</code></a>.
</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--language-set"></a><h3>The <code class="literal">"language-set"</code> property</h3>
<pre class="programlisting">  "language-set"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the language the text is rendered as.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--left-margin"></a><h3>The <code class="literal">"left-margin"</code> property</h3>
<pre class="programlisting">  "left-margin"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Width of the left margin in pixels.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--left-margin-set"></a><h3>The <code class="literal">"left-margin-set"</code> property</h3>
<pre class="programlisting">  "left-margin-set"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the left margin.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--name"></a><h3>The <code class="literal">"name"</code> property</h3>
<pre class="programlisting">  "name"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write / Construct Only</pre>
<p>Name used to refer to the text tag. NULL for anonymous tags.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--paragraph-background"></a><h3>The <code class="literal">"paragraph-background"</code> property</h3>
<pre class="programlisting">  "paragraph-background"     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Write</pre>
<p>
The paragraph background color as a string.
</p>
<p>Default value: NULL</p>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--paragraph-background-gdk"></a><h3>The <code class="literal">"paragraph-background-gdk"</code> property</h3>
<pre class="programlisting">  "paragraph-background-gdk" <a href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write</pre>
<p>
The paragraph background color as a as a (possibly unallocated) 
<a href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a>.
</p>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--paragraph-background-set"></a><h3>The <code class="literal">"paragraph-background-set"</code> property</h3>
<pre class="programlisting">  "paragraph-background-set" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the paragraph background color.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--pixels-above-lines"></a><h3>The <code class="literal">"pixels-above-lines"</code> property</h3>
<pre class="programlisting">  "pixels-above-lines"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Pixels of blank space above paragraphs.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--pixels-above-lines-set"></a><h3>The <code class="literal">"pixels-above-lines-set"</code> property</h3>
<pre class="programlisting">  "pixels-above-lines-set"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the number of pixels above lines.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--pixels-below-lines"></a><h3>The <code class="literal">"pixels-below-lines"</code> property</h3>
<pre class="programlisting">  "pixels-below-lines"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Pixels of blank space below paragraphs.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--pixels-below-lines-set"></a><h3>The <code class="literal">"pixels-below-lines-set"</code> property</h3>
<pre class="programlisting">  "pixels-below-lines-set"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the number of pixels above lines.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--pixels-inside-wrap"></a><h3>The <code class="literal">"pixels-inside-wrap"</code> property</h3>
<pre class="programlisting">  "pixels-inside-wrap"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Pixels of blank space between wrapped lines in a paragraph.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--pixels-inside-wrap-set"></a><h3>The <code class="literal">"pixels-inside-wrap-set"</code> property</h3>
<pre class="programlisting">  "pixels-inside-wrap-set"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the number of pixels between wrapped lines.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--right-margin"></a><h3>The <code class="literal">"right-margin"</code> property</h3>
<pre class="programlisting">  "right-margin"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Width of the right margin in pixels.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--right-margin-set"></a><h3>The <code class="literal">"right-margin-set"</code> property</h3>
<pre class="programlisting">  "right-margin-set"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the right margin.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--rise"></a><h3>The <code class="literal">"rise"</code> property</h3>
<pre class="programlisting">  "rise"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Offset of text above the baseline (below the baseline if rise is negative) in Pango units.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--rise-set"></a><h3>The <code class="literal">"rise-set"</code> property</h3>
<pre class="programlisting">  "rise-set"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the rise.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--scale"></a><h3>The <code class="literal">"scale"</code> property</h3>
<pre class="programlisting">  "scale"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>Font size as a scale factor relative to the default font size. This properly adapts to theme changes etc. so is recommended. Pango predefines some scales such as PANGO_SCALE_X_LARGE.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--scale-set"></a><h3>The <code class="literal">"scale-set"</code> property</h3>
<pre class="programlisting">  "scale-set"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag scales the font size by a factor.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--size"></a><h3>The <code class="literal">"size"</code> property</h3>
<pre class="programlisting">  "size"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Font size in Pango units.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--size-points"></a><h3>The <code class="literal">"size-points"</code> property</h3>
<pre class="programlisting">  "size-points"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>Font size in points.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--size-set"></a><h3>The <code class="literal">"size-set"</code> property</h3>
<pre class="programlisting">  "size-set"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the font size.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--stretch"></a><h3>The <code class="literal">"stretch"</code> property</h3>
<pre class="programlisting">  "stretch"                  <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a>          : Read / Write</pre>
<p>Font stretch as a PangoStretch, e.g. PANGO_STRETCH_CONDENSED.</p>
<p>Default value: PANGO_STRETCH_NORMAL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--stretch-set"></a><h3>The <code class="literal">"stretch-set"</code> property</h3>
<pre class="programlisting">  "stretch-set"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the font stretch.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--strikethrough"></a><h3>The <code class="literal">"strikethrough"</code> property</h3>
<pre class="programlisting">  "strikethrough"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether to strike through the text.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--strikethrough-set"></a><h3>The <code class="literal">"strikethrough-set"</code> property</h3>
<pre class="programlisting">  "strikethrough-set"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects strikethrough.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--style"></a><h3>The <code class="literal">"style"</code> property</h3>
<pre class="programlisting">  "style"                    <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a>            : Read / Write</pre>
<p>Font style as a PangoStyle, e.g. PANGO_STYLE_ITALIC.</p>
<p>Default value: PANGO_STYLE_NORMAL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--style-set"></a><h3>The <code class="literal">"style-set"</code> property</h3>
<pre class="programlisting">  "style-set"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the font style.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--tabs"></a><h3>The <code class="literal">"tabs"</code> property</h3>
<pre class="programlisting">  "tabs"                     <a href="/usr/share/gtk-doc/html/pango/pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>*        : Read / Write</pre>
<p>Custom tabs for this text.</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--tabs-set"></a><h3>The <code class="literal">"tabs-set"</code> property</h3>
<pre class="programlisting">  "tabs-set"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects tabs.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--underline"></a><h3>The <code class="literal">"underline"</code> property</h3>
<pre class="programlisting">  "underline"                <a href="/usr/share/gtk-doc/html/pango/pango-Text-Attributes.html#PangoUnderline"><span class="type">PangoUnderline</span></a>        : Read / Write</pre>
<p>Style of underline for this text.</p>
<p>Default value: PANGO_UNDERLINE_NONE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--underline-set"></a><h3>The <code class="literal">"underline-set"</code> property</h3>
<pre class="programlisting">  "underline-set"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects underlining.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--variant"></a><h3>The <code class="literal">"variant"</code> property</h3>
<pre class="programlisting">  "variant"                  <a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a>          : Read / Write</pre>
<p>Font variant as a PangoVariant, e.g. PANGO_VARIANT_SMALL_CAPS.</p>
<p>Default value: PANGO_VARIANT_NORMAL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--variant-set"></a><h3>The <code class="literal">"variant-set"</code> property</h3>
<pre class="programlisting">  "variant-set"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the font variant.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--weight"></a><h3>The <code class="literal">"weight"</code> property</h3>
<pre class="programlisting">  "weight"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Font weight as an integer, see predefined values in PangoWeight; for example, PANGO_WEIGHT_BOLD.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 400</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--weight-set"></a><h3>The <code class="literal">"weight-set"</code> property</h3>
<pre class="programlisting">  "weight-set"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects the font weight.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--wrap-mode"></a><h3>The <code class="literal">"wrap-mode"</code> property</h3>
<pre class="programlisting">  "wrap-mode"                <a class="link" href="GtkTextTag.html#GtkWrapMode" title="enum GtkWrapMode"><span class="type">GtkWrapMode</span></a>           : Read / Write</pre>
<p>Whether to wrap lines never, at word boundaries, or at character boundaries.</p>
<p>Default value: GTK_WRAP_NONE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTextTag--wrap-mode-set"></a><h3>The <code class="literal">"wrap-mode-set"</code> property</h3>
<pre class="programlisting">  "wrap-mode-set"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether this tag affects line wrap mode.</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1">
<a name="GtkTextTag.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GtkTextTag-event"></a><h3>The <code class="literal">"event"</code> signal</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            user_function                      (<a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a>  *tag,
                                                        <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>     *object,
                                                        <a href="../gdk/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a>    *event,
                                                        <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *iter,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>     user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
The ::event signal is emitted when an event occurs on a region of the
buffer marked with this tag.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tag</code></em> :</span></p></td>
<td>the <a class="link" href="GtkTextTag.html" title="GtkTextTag"><span class="type">GtkTextTag</span></a> on which the signal is emitted</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>the object the event was fired from (typically a <a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td>the event which triggered the signal</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>a <a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> pointing at the location the event occured</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop other handlers from being invoked for the
event. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to propagate the event further.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>